// fetch("https://www.iwencai.com/customized/chart/get-robot-data", {
//   headers: {
//     accept: "application/json, text/plain, */*",
//     "accept-language": "zh-CN,zh;q=0.9,en;q=0.8",
//     "cache-control": "no-cache",
//     "content-type": "application/json",
//     "hexin-v": "A4kNUJiWCN7z6vQqMdwZj-xkmL7m1n6c58ihnCv-Bmqvb6cgcyaN2HcasXS4",
//     pragma: "no-cache",
//     "sec-ch-ua":
//       '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"',
//     "sec-ch-ua-mobile": "?0",
//     "sec-ch-ua-platform": '"Windows"',
//     "sec-fetch-dest": "empty",
//     "sec-fetch-mode": "cors",
//     "sec-fetch-site": "same-origin",
//   },
//   referrer:
//     "https://www.iwencai.com/unifiedwap/result?w=%E5%90%8C%E8%8A%B1%E9%A1%BA%E5%85%A8a%E6%88%90%E4%BA%A4%E9%A2%9D&querytype=zhishu&addSign=1709615730673",
//   referrerPolicy: "strict-origin-when-cross-origin",
//   body: '{"source":"Ths_iwencai_Xuangu","version":"2.0","query_area":"","block_list":"","add_info":"{\\"urp\\":{\\"scene\\":1,\\"company\\":1,\\"business\\":1},\\"contentType\\":\\"json\\",\\"searchInfo\\":true}","question":"同花顺全a成交额","perpage":50,"page":1,"secondary_intent":"zhishu","log_info":"{\\"input_type\\":\\"typewrite\\"}","rsh":"499226602"}',
//   method: "POST",
//   mode: "cors",
//   credentials: "include",
// }).then((res) => {
//   console.log("res", res.text);
// });

axios
  .post(
    "https://www.iwencai.com/customized/chart/get-robot-data",
    {
      //   firstName: "Fred",
      //   lastName: "Flintstone",
    },
    {
      body: '{"source":"Ths_iwencai_Xuangu","version":"2.0","query_area":"","block_list":"","add_info":"{\\"urp\\":{\\"scene\\":1,\\"company\\":1,\\"business\\":1},\\"contentType\\":\\"json\\",\\"searchInfo\\":true}","question":"同花顺全a成交额","perpage":50,"page":1,"secondary_intent":"zhishu","log_info":"{\\"input_type\\":\\"typewrite\\"}","rsh":"499226602"}',
      headers: {
        accept: "application/json, text/plain, */*",
        "accept-language": "zh-CN,zh;q=0.9,en;q=0.8",
        "cache-control": "no-cache",
        "content-type": "application/json",
        "hexin-v":
          "A4kNUJiWCN7z6vQqMdwZj-xkmL7m1n6c58ihnCv-Bmqvb6cgcyaN2HcasXS4",
        pragma: "no-cache",
        "sec-ch-ua":
          '"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"',
        "sec-ch-ua-mobile": "?0",
        "sec-ch-ua-platform": '"Windows"',
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "sec-fetch-site": "same-origin",
      },
      referrer:
        "https://www.iwencai.com/unifiedwap/result?w=%E5%90%8C%E8%8A%B1%E9%A1%BA%E5%85%A8a%E6%88%90%E4%BA%A4%E9%A2%9D&querytype=zhishu&addSign=1709615730673",
      referrerPolicy: "strict-origin-when-cross-origin",
    }
  )
  .then(function (response) {
    console.log(response);
  })
  .catch(function (error) {
    console.log(error);
  });
